/*
 ============================================================================
 Name		: AutoOrderProcessApplication.h
 Author	  : lin.chaoming
 Copyright   : do1
 Description : Declares main application class.
 ============================================================================
 */

#ifndef __AUTOORDERPROCESSAPPLICATION_H__
#define __AUTOORDERPROCESSAPPLICATION_H__

// INCLUDES
#include <aknapp.h>
#include "AutoOrderProcess.hrh"

// UID for the application;
// this should correspond to the uid defined in the mmp file
const TUid KUidAutoOrderProcessApp =
    {
    _UID3
    };

// CLASS DECLARATION

/**
 * CAutoOrderProcessApplication application class.
 * Provides factory to create concrete document object.
 * An instance of CAutoOrderProcessApplication is the application part of the
 * AVKON application framework for the AutoOrderProcess example application.
 */
class CAutoOrderProcessApplication: public CAknApplication
{
public:
    // Functions from base classes

    /**
     * From CApaApplication, AppDllUid.
     * @return Application's UID (KUidAutoOrderProcessApp).
     */
    TUid AppDllUid() const;

protected:
    // Functions from base classes

    /**
     * From CApaApplication, CreateDocumentL.
     * Creates CAutoOrderProcessDocument document object. The returned
     * pointer in not owned by the CAutoOrderProcessApplication object.
     * @return A pointer to the created document object.
     */
    CApaDocument* CreateDocumentL();
};

#endif // __AUTOORDERPROCESSAPPLICATION_H__
// End of File
